package com.cskaoyan.javase._1extends._5protected._2example.one;

import com.cskaoyan.javase._1extends._5protected._2example.Student;

/**
 * 不同包下的子类可以访问父类中的受保护成员
 *
 * @since 10:13
 * @author wuguidong@cskaoyan.onaliyun.com
 */
public class Test2 extends Student {
    public static void main(String[] args) {
        Test2 t = new Test2();
        t.test();
    }
}
